Object ProMoldbase

Function ProMoldbaseParamsGet


Description
Retrieves the information about the Moldbase from mbparams handle. The handle must be filled earlier by the functions ProMoldbaseDialog() or ProMoldbaseGetFromModel().
Synopsis
#include <ProMoldbase.h>
ProErrorProMoldbaseParamsGet(
ProMoldbaseParams mbparams
/* (In)
Pointer to the MoldbaseParam handle
*/
ProMdl* owner
/* (Out)
Mold Layout Assembly handler
*/
ProName vendor
/* (Out)
The vendor
*/
ProName series
/* (Out)
The series
*/
ProName length
/* (Out)
The length
*/
ProName width
/* (Out)
The width
*/
ProCharName** p_param_names
/* (Out)
ProArray of Moldbase parameter names; The user must pass a pre-allocated array. If the array is reused, new elements will be appended to the existing elements unless the array size is reset to 0 with ProArraySizeSet.
*/
ProName** p_param_values
/* (Out)
ProArray of Moldbase parameter values; The user must pass a pre-allocated array. If the array is reused, new elements will be appended to the existing elements unless the array size is reset to 0 with ProArraySizeSet.
*/
double* rotation_angle
/* (Out)
rotation angle used in Moldbase placement.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_examples ( TestMoldbase.c )